#openjdk-8为基础镜像dev
FROM registry.cn-hangzhou.aliyuncs.com/yoxio/yoxio-habit:8-jdk-alpine

MAINTAINER yoxio

#拷贝jar包
ADD target/scan-service-0.0.1-SNAPSHOT.jar /opt/scan-service.jar

#暴露容器端口
EXPOSE 8000

#可选jvm参数
ENTRYPOINT exec java -Xms128m -Xmx128m -Djava.security.egd=file:/dev/./urandom -jar /opt/scan-service.jar


